package com.lx.dao;

import com.lx.model.PrintPlan;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PrintPlanMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PrintPlan record);

    int insertSelective(PrintPlan record);

    PrintPlan selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PrintPlan record);

    int updateByPrimaryKey(PrintPlan record);

    List<PrintPlan> selectByShopId(Long shopId);

    PrintPlan selectByPlanNo(@Param("shopId")Long shopId,@Param("planNo") String planNo);
}